<?php
error_reporting(0);
header("Content-type: text/html; charset=utf-8");

$ordernumber=date('YmdHis').rand(10000, 99999);//商户订单号（该值需在商户系统内唯一）
?>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>支付demo_php</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<form action="./send.php" method="post">
<table align="center" cellspacing="10">
	<tr>
		<td colspan="2" align="center"><h2>支付测试</h2></td>
	</tr>

    <tr>
		<td>订单号：</td>
		<td><?php echo $ordernumber; ?><input type="hidden" name="ordernumber" value="<?php echo $ordernumber; ?>"></td>
	</tr>
    <tr>
        <td>商户ID：</td>
        <td><input name="partner" value="290762" readonly="readonly"  placeholder="如没有商户ID填写：290762" ></td>
    </tr>
	<tr>
		<td>订单标题：</td>
		<td><input name="subject" value="test"></td>
	</tr>
	<tr>
		<td>支付金额：</td>
		<td><input name="paymoney" value="1">元</td>
	</tr>
    <tr>
        <td>同步：</td>
        <td><input name="hrefbackurl"  value="http://demos.shuzi88.com"></td>
    </tr>
    <tr>
        <td>异步：</td>
        <td><input name="callbackurl" value="http://demos.shuzi88.com"></td>
    </tr>
	<tr>
		<td>&nbsp;</td>
		<td><input type="submit" value="去支付"></td>
	</tr>
</table>
</form>
</body>
</html>